// BrowserView.cpp : implementation file
//

#include "stdafx.h"
#include "TestAWT4MFC.h"
#include "BrowserView.h"
#include "BrowserApplet.h"


// CBrowserView

IMPLEMENT_DYNCREATE(CBrowserView, AWTView)

CBrowserView::CBrowserView()
{

}

CBrowserView::~CBrowserView()
{
}

BEGIN_MESSAGE_MAP(CBrowserView, AWTView)
END_MESSAGE_MAP()


// CBrowserView drawing

void CBrowserView::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here
}


// CBrowserView diagnostics

#ifdef _DEBUG
void CBrowserView::AssertValid() const
{
	AWTView::AssertValid();
}

#ifndef _WIN32_WCE
void CBrowserView::Dump(CDumpContext& dc) const
{
	AWTView::Dump(dc);
}
#endif
#endif //_DEBUG


// CBrowserView message handlers

BOOL CBrowserView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	m_applet = new BrowserApplet(this);

	return AWTView::PreCreateWindow(cs);
}
